﻿using DI.Service.Interface;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DI.Controller
{
    public class TestController
    {
        private readonly ILog log;
        private readonly ISave save;
        private readonly IConfig config;
        public TestController(ILog log, ISave save, IConfig config)
        {
            this.log = log;
            this.save = save;
            this.config = config;
        }

        public void Test()
        {
            log.Log("开始上传");
            save.Save("aaaaaaaaaaaaaa", "1.txt");
            log.Log("上传完毕");
        }


    }
}
